package com.uetoken.cn.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author 谢杨
 * @time 2018/9/7 17:11
 * @class 描述:收货地址javaBean类
 */
public class ShippingAddressBean implements Serializable{


    /**
     * data : [{"consigneeid":319235,"provinceid":11,"productname":"江苏","cityid":115,"cityname":"连云港","regionid":1244,"regionname":"连云区",
     * "address":"中山路223\u20146号","consigneename":"钟女士","mobileno":"13025896341","alladdress":"江苏连云港连云区中山路223\u20146号","isdefault":1,"postcode":"515232"},
     * {"consigneeid":319234,"provinceid":20,"productname":"广东","cityid":233,"cityname":"韶关","regionid":2323,"regionname":"曲江区","address":"龙塔因素来咯",
     * "consigneename":"木子","mobileno":"15818673515","alladdress":"广东韶关曲江区龙塔因素来咯","isdefault":0,"postcode":"518000"}]
     * result : 1
     * message : 成功
     */

    private int result;
    private String         message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * consigneeid : 319235
         * provinceid : 11
         * productname : 江苏
         * cityid : 115
         * cityname : 连云港
         * regionid : 1244
         * regionname : 连云区
         * address : 中山路223—6号
         * consigneename : 钟女士
         * mobileno : 13025896341
         * alladdress : 江苏连云港连云区中山路223—6号
         * isdefault : 1
         * postcode : 515232
         */

        private int consigneeid;
        private int    provinceid;
        private String productname;
        private int    cityid;
        private String cityname;
        private int    regionid;
        private String regionname;
        private String address;
        private String consigneename;
        private String mobileno;
        private String alladdress;
        private int    isdefault;
        private String postcode;

        public int getConsigneeid() {
            return consigneeid;
        }

        public void setConsigneeid(int consigneeid) {
            this.consigneeid = consigneeid;
        }

        public int getProvinceid() {
            return provinceid;
        }

        public void setProvinceid(int provinceid) {
            this.provinceid = provinceid;
        }

        public String getProductname() {
            return productname;
        }

        public void setProductname(String productname) {
            this.productname = productname;
        }

        public int getCityid() {
            return cityid;
        }

        public void setCityid(int cityid) {
            this.cityid = cityid;
        }

        public String getCityname() {
            return cityname;
        }

        public void setCityname(String cityname) {
            this.cityname = cityname;
        }

        public int getRegionid() {
            return regionid;
        }

        public void setRegionid(int regionid) {
            this.regionid = regionid;
        }

        public String getRegionname() {
            return regionname;
        }

        public void setRegionname(String regionname) {
            this.regionname = regionname;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getConsigneename() {
            return consigneename;
        }

        public void setConsigneename(String consigneename) {
            this.consigneename = consigneename;
        }

        public String getMobileno() {
            return mobileno;
        }

        public void setMobileno(String mobileno) {
            this.mobileno = mobileno;
        }

        public String getAlladdress() {
            return alladdress;
        }

        public void setAlladdress(String alladdress) {
            this.alladdress = alladdress;
        }

        public int getIsdefault() {
            return isdefault;
        }

        public void setIsdefault(int isdefault) {
            this.isdefault = isdefault;
        }

        public String getPostcode() {
            return postcode;
        }

        public void setPostcode(String postcode) {
            this.postcode = postcode;
        }
    }
}
